/* pages/pay/index.wxss */
page {
  background-color: var(--pageBgColor);
}

.address {
  background-color: #fff;
  border-radius: 10rpx;
  margin: 20rpx 20rpx 35rpx;
  padding: 20rpx;
  height: 188rpx;
}

.pay_list {
  background-color: #fff;
  border-radius: 10rpx;
  margin: 20rpx;
  &_title {
    padding-left: 20rpx;
  }
}

// 购物车商品展示
.cart_item {
  display: flex;
  border-bottom: 1rpx solid var(--borderColor);
  &:last-child {
    border-bottom: 0 none;
  }
  &_left {
    width: 100rpx;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  &_right {
    flex: 1;
    position: relative;
    .count_group {
      position: absolute;
      right: 20rpx;
      bottom: 20rpx;
      display: flex;
      align-items: center;
      &_btn {
        font-size: 44rpx;
        color: var(--iconfontColor);
      }
      &_number {
        // 利用最小宽实现列表对齐
        min-width: 40rpx;
        padding: 0 5rpx;
        display: flex;
        justify-content: center;
      }
    }
  }
}

// 底部栏
.bottom {
  width: 750rpx;
  height: 82rpx;
  background-color: #fff;
  border-top: 1px solid var(--borderColor);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20rpx;
  box-sizing: border-box;
  position: fixed;
  left: 0;
  bottom: 0;
  &_left {
    display: flex;
    align-items: center;
  }
  &_group {
    display: flex;
    align-items: center;
    margin-right: 20rpx;
    &_text {
      color: #666;
      font-size: 80%;
    }
    &_price {
      color: var(--pimaryColor);
      &::before {
        content: "¥";
        font-size: 80%;
      }
    }
  }
  &_toPay {
    min-width: 150rpx;
    padding: 0 10rpx;
    box-sizing: border-box;
    height: 52rpx;
    border-radius: 30rpx;
    color: #fff;
    background-color: var(--pimaryColor);
    font-size: 22rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    &.disabled {
      background-color: var(--disabledColor);
    }
  }
}
